package com.choosefine.it.basedata.dao;

import com.choosefine.it.basedata.model.City;
import com.choosefine.it.basedata.model.ProvinceAndCity;

import java.util.List;

/**
 * 城市相关映射
 * @author guwenwei
 * 2016/11/15
 */
public interface CityMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(City record);

    int insertSelective(City record);

    City selectByPrimaryKey(Integer id);

    List<City> selectAll();

    int updateByPrimaryKeySelective(City record);

    int updateByPrimaryKey(City record);
    
    List<City> selectCitysByFather(String father);
    
    City selectByCityID(String cityid);

    List<ProvinceAndCity> getAllProvinceAndCity();


}